import request from '@/utils/request'

// 查询【租房合同查询】列表
export function listContract(query) {
  return request({
    url: '/finance/financeInstallment/listzf',
    method: 'get',
    params: query
  })
}

// 查询【金融产品下拉框数据】列表
export function listinstall() {
  return request({
    url: '/finance/financeInstallment/list',
    method: 'get',
  })
}

// 如果下拉框发生改变就查询数据
export function changelistprodect(id) {
  return request({
    url: '/finance/financeInstallment/listprodect?id='+id,
    method: 'get',
  })
}

// 分期详情
export function fenqilist(query) {
  return request({
    url: '/finance/financeInstallment/fenqi',
    method: 'get',
    params: query
  })
}

